package vcp.enums;

import vcp.enums.utility.EnumReverser;
import vcp.enums.utility.EnumReverser.IEnumReverser;
/**
 * 
 * @author VCP team
 *<p> job type enum class </p>
 */
public enum JobType implements IEnumReverser
{
	SITE_WORKER ( "Site worker" ),
	SITE_MANAGER ( "Site manager" ),
	CUSTOMER_SERVICE ( "Customer service" ),
	CEO ( "CEO" );

	private String jobTitle;
	/** constructor**/
	private JobType ( String title )
	{
		this.jobTitle = title;
	}

	@Override
	public String toString ()
	{
		return this.jobTitle;
	}
	/** enum converter **/
	public static JobType convert ( String key )
	{
		return EnumReverser.convert(JobType.class, key);
	}
}
